import request from '@/utils/request'
// -------- 波比设置 --------
let BASE_ADDRESS = '/financial/payCommision'
// 分页查询

export const getPayCommisionListApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: 'get',
        params: data
    })
}

// 修改
export const getPayCommisionEditApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: 'put',
        data
    })
}
// 删除
export const getPayCommisionStatusApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/remove`,
        method: 'delete',
        data
    })
}


// 根据id查询
export const getPayCommisionetInfoApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/getInfo`,
        method: 'get',
        params: data
    })
}


// 添加
export const getPayCommisionAddApi = (data) => {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: 'post',
        data
    })
}